﻿#include <shlib/viewmodel/ctableeditplugin.h>

#include "cyxvalueeditplugin.h"
#include "cconfigeditplugin.h"

CTableEditPlugin* createPlugin(QString name) {
    if(name == "yxvalueeditplugin") {
        return new CYxValueEditPlugin;
    } else if(name == "configeditplugin") {
        return new CConfigEditPlugin;
    }
    return nullptr;
}
